/**
 * 广告主自己的相关api
 */
angular.module('imsApp').factory('AdvDataStatisticsManager', ['$http', 'api','paramsManager', function ($http, api,paramsManager) {
    var AdvDataStatisticsManager = {
        
        advDataList: function (params,query) {
            return $http.get(api+'/adv/adStatList/'+paramsManager.params(params)+paramsManager.query(query)).then(function (result) {
                return result;
            });
        },
        advCampaignsList: function () {
            return $http.get(api+'/adv/simple/advCampaigns').then(function (result) {
                return result;
            });
        },

    }

    return AdvDataStatisticsManager;
}]);
